import Vue from 'vue'
import Mint from 'mint-ui'
import 'mint-ui/lib/style.css'
import App from './App.vue'
import router from './router'
import store from './store'
import socket from './js/socket'
import 'lib-flexible/flexible.js'
import posFix from 'vue_ios_fixed_postion_bug_fix'
import vuePicturePreview from 'vue-picture-preview'
import VConsole from 'vconsole/dist/vconsole.min.js'
import axios from './js/axios'
import { formatDate } from './js/date.js'
import os from './js/os'
import plus from 'vue-h5-plus'
import VueCookies from 'vue-cookies'
Vue.use(VueCookies)
Vue.use(posFix)
Vue.use(plus)
Vue.use(vuePicturePreview)
Vue.use(Mint)
Vue.config.productionTip = false
window.isApp = os.plus
Vue.prototype.$url = 'http://156.245.160.20'
Vue.prototype.$socket = socket
Vue.prototype.$vConsole = new VConsole()
// 用于移动端测试，勿删
Vue.prototype.$formatDate = formatDate
Vue.prototype.$axios = axios
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
